package com.example.houduan.Service;

import com.example.houduan.Pojo.Sale;
import com.example.houduan.Utils.PageModel;
import org.springframework.stereotype.Service;

import java.util.List;

public interface SaleService {
    PageModel getSalePage(int num,int size);

    int deleteSale(Integer sale_id);

    int updateSale(Sale sale);

    int addSale(Sale sale);

    List<Sale> getSaleByConditions(Integer sale_id, String sale_name, String city_name);
}
